﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Controls_Menu : System.Web.UI.UserControl
{
    protected int cateID;
    protected int newsID;
    protected void Page_Load(object sender, EventArgs e)
    {
        NewsUtils.CheckUrl(ref cateID, ref newsID);

        string url = Request.Url.ToString().ToLower();
        
        if (cateID == 3 || cateID == 5 || cateID == 6)
        {
            cateID = 3;
            return;
        }
        if (cateID == 7 || cateID == 8 || cateID == 9 || cateID == 10)
        {
            cateID = 7;
            return;
        }

        if (cateID == 12 || cateID == 13 || cateID == 14)
        {
            cateID = 12;
            return;
        }
        
    }
}